#!/bin/sh
# --- Enable error detection. ---
set -e

# --- Set version of this package ---
# THISVERSION="${deb.version}"

echo Post-installation script version $THISVERSION
echo "   Parameters                  : $@"
echo "   Option                      : $1"
echo "   Currently installed version : $2"
echo "   Version of this package     : $THISVERSION"

case "$1" in
    configure)
        echo "   No tasks."
        ;;
    abort-upgrade)
        # --- If we exit here, too, dpkg will be "unhappy" ---
        # --- It will mark the installed package as inconsistent ---
        echo "   No tasks."
        ;;
    *)
        echo "   Option $1 not supported by this script."
        ;;
esac